import React from "react";
import ReactDOM from "react-dom";
import { BrowserRouter, Switch, Route } from "react-router-dom";
import "antd/dist/antd.less";
import { DownloadWidget } from "./pages/DownloadWidget";

ReactDOM.render(
  <BrowserRouter>
    <Switch>
      <Route path="/user">
        <div>当前未登陆</div>
      </Route>
      {/* <Route path={"/"}>
        <BasicLayout/>
      </Route> */}
      <Route path="/">
        <DownloadWidget />
      </Route>
    </Switch>
  </BrowserRouter>,
  document.getElementById("root")
);
